package io.gitee.loulan_yxq.owner.mybatisPlus.test.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 成绩表
 * @TableName score
 */
@TableName(value ="score")
@Data
public class ScoreTestPo extends BaseEntity implements Serializable {

    /**
     * 课程id
     */
    @TableField(value = "course_id")
    private Serializable courseId;

    /*
    * 学生的id
    * */
    @TableField(value = "student_id")
    private int studentId;

    /**
     * 成绩
     */
    @TableField(value = "degree")
    private float degree;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}